package com.ruoyi.yf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 医废处置机构、医疗机构关系对象 yf_medical_waste_and_hospital_relationship
 *
 * @author XiaoYi...
 * @date 2020-08-14
 * b6ea91a3-e915-4f89-a6e3-c65ef3aec5de
 */
public class YfMedicalWasteAndHospitalRelationship extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
    private Long id;

    /**
     * 医废处理单位id
     */
    @Excel(name = "医废处理单位id")
    private Long medicalWasteId;


    private String medicalWasteStr;

    /**
     * 医疗机构单位id
     */
    @Excel(name = "医疗机构单位id")
    private Long hospitalId;

    private String hospitalStr;

    /**
     * 开始签约时间
     */
    @Excel(name = "开始签约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startSigningDate;

    /**
     * 结束签约时间
     */
    @Excel(name = "结束签约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endSigngingDate;

    /**
     * 等级类型
     */
    @Excel(name = "等级类型")
    private String hospType;

    /**
     * 删除状态 	del_flag
     */
    @Excel(name = "删除状态 	del_flag")
    private String delFlag;

    /**
     * 开关状态 sys_normal_disable
     */
    @Excel(name = "开关状态 sys_normal_disable")
    private String status;

    /**
     * 创建者 sys_user表
     */
    private Long createId;

    /**
     * 更新者 sys_user表
     */
    private Long updateId;

    public YfMedicalWasteAndHospitalRelationship(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public YfMedicalWasteAndHospitalRelationship() {

    }

    public String getMedicalWasteStr() {
        return medicalWasteStr;
    }

    public String getHospitalStr() {
        return hospitalStr;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setMedicalWasteId(Long medicalWasteId) {
        this.medicalWasteId = medicalWasteId;
    }

    public Long getMedicalWasteId() {
        return medicalWasteId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setStartSigningDate(Date startSigningDate) {
        this.startSigningDate = startSigningDate;
    }

    public Date getStartSigningDate() {
        return startSigningDate;
    }

    public void setEndSigngingDate(Date endSigngingDate) {
        this.endSigngingDate = endSigngingDate;
    }

    public Date getEndSigngingDate() {
        return endSigngingDate;
    }

    public void setHospType(String hospType) {
        this.hospType = hospType;
    }

    public String getHospType() {
        return hospType;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setUpdateId(Long updateId) {
        this.updateId = updateId;
    }

    public Long getUpdateId() {
        return updateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("medicalWasteId", getMedicalWasteId())
                .append("hospitalId", getHospitalId())
                .append("startSigningDate", getStartSigningDate())
                .append("endSigngingDate", getEndSigngingDate())
                .append("hospType", getHospType())
                .append("delFlag", getDelFlag())
                .append("status", getStatus())
                .append("createId", getCreateId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateId", getUpdateId())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
